package ro.myApp.esb.service;

import ro.myApp.esb.messages.EsbMessage;
import ro.myApp.esb.messages.EsbMessageTransactionNew;
import ro.myApp.esb.messages.EsbMessageTransactionNotSupported;
import ro.myApp.esb.messages.EsbMessageTransactionRequired;

public interface MessageBasedService {

	EsbMessage receiveMessageSynchTransactionNotSupported(EsbMessageTransactionNotSupported message)
			throws Throwable;

	EsbMessage receiveMessageSynchTransactionRequired(EsbMessageTransactionRequired message)
			throws Throwable;

	EsbMessage receiveMessageSynchTransactionNew(EsbMessageTransactionNew message)
			throws Throwable;
}
